mean deviation shortcut method